#!/bin/bash
#
#set -x
set -e
set -o pipefail

if [ -d "ninja" ]; then
  rm -fr ninja
fi

git clone https://gitee.com/albertwang37/ninja.git

cd ninja

git checkout release

./configure.py --bootstrap

export PATH=`pwd`:$PATH
cd ..
